package org.example.command;

import org.example.editor.Editor;

public class ListTreeCommand implements Command{
    private Editor editor;
    private String title;
    public ListTreeCommand(Editor editor,String title){
        this.editor = editor;
        this.title = title;
    }
    @Override
    public void excute() {
        editor.listTree(title);
    }
}
